home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_sh-utils.idb / usr / freeware / catman / u_man / cat1 / ansi2knr.Z / ansi2knr
Encoding:
Text File  |  1998-05-21  |  2.2 KB  |  68 lines

  1. /xlv1/freeware/1998.May/sh-utils/1.16b/sh-utils-1.16b.diffbuild/src
  2.  
  3.  
  4.  
  5.      AAAANNNNSSSSIIII2222KKKKNNNNRRRR((((1111))))    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((11119999 JJJJaaaannnn 1111999999996666))))       AAAANNNNSSSSIIII2222KKKKNNNNRRRR((((1111))))
  6.  
  7.  
  8.  
  9.      NNNNAAAAMMMMEEEE
  10.       ansi2knr - convert ANSI C to Kernighan & Ritchie C
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       _a_n_s_i_2_k_n_r [--varargs] input_file [output_file]
  14.  
  15.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.       If no    output_file is supplied, output    goes to    stdout.
  17.       There    are no error messages.
  18.  
  19.       _a_n_s_i_2_k_n_r recognizes function definitions by seeing a non-
  20.       keyword identifier at    the left margin, followed by a left
  21.       parenthesis, with a right parenthesis    as the last character
  22.       on the line, and with    a left brace as    the first token    on the
  23.       following line (ignoring possible intervening    comments).  It
  24.       will recognize a multi-line header provided that no
  25.       intervening line ends    with a left or right brace or a
  26.       semicolon.  These algorithms ignore whitespace and comments,
  27.       except that the function name    must be    the first thing    on the
  28.       line.
  29.  
  30.       The following    constructs will    confuse    it:
  31.            - Any other construct that starts at the    left margin
  32.       and follows the above    syntax (such as    a macro    or function
  33.       call).
  34.            - Some macros that tinker with the syntax of the
  35.       function header.
  36.  
  37.       The --varargs    switch is obsolete, and    is recognized only for
  38.       backwards compatibility.  The    present    version    of _a_n_s_i_2_k_n_r
  39.       will always attempt to convert a ... argument    to va_alist
  40.       and va_dcl.
  41.  
  42.      AAAAUUUUTTTTHHHHOOOORRRR
  43.       L. Peter Deutsch <ghost@aladdin.com> wrote the original
  44.       ansi2knr and continues to maintain the current version; most
  45.       of the code in the current version is    his work.  ansi2knr
  46.       also includes    contributions by Francois Pinard
  47.       <pinard@iro.umontreal.ca> and    Jim Avera <jima@netcom.com>.
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.      Page 1                         (printed 5/18/98)
  65.  
  66.  
  67.  
  68.